﻿namespace MySql.Simple.Mapper.Structures
{
    /// <summary>
    /// Enumeration to represent the type of index on a <see cref="Column"/> in a <see cref="Table"/>.
    /// </summary>
    public enum IndexType
    {
        /// <summary>
        /// A standard index
        /// </summary>
        Default = 0,
        /// <summary>
        /// The index holds unique values
        /// </summary>
        Unique = 1,
        /// <summary>
        /// A full-text index
        /// </summary>
        Fulltext = 2,
        /// <summary>
        /// A spatial index
        /// </summary>
        Spatial = 3
    }
}
